package com.groupbuying.store.utils;

import org.apache.commons.collections4.MapUtils;

import java.util.Map;

/**
 * @anthor wenguoqiang
 * @date: 2019/02/22 16:03
 * @company 够样
 * @des
 **/
public class AccountCheckPwdUtils {

    /**
     * 检查参数
     */
    public static boolean checkParams(Map<String,Object> params) {
        if(MapUtils.isEmpty(params)){
            return false;
        }

        if(null == params.get("oldPwd")){
            return false;
        }

        if(null == params.get("newPwd")){
            return false;
        }
        if(null == params.get("notarizePwd")){
            return false;
        }
        if(null == params.get("uuid")){
            return false;
        }
        return true;
    }

}
